const mysql = require('mysql')
// 数据库连接
 const db = mysql.createPool({
    host:'localhost',
    user:'root',
    password:'admin123',
    database:'black'
})
//导出数据库
module.exports= db